package com.cdd.permission.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.common.entity.Permission;

import java.util.List;

/**
 * TODO
 *
 * @author lenovo
 * @version 1.0
 * @since 2022-08-31  20:49:26
 */

public interface PermissionMapper extends BaseMapper<Permission> {

    List<String> selectPermission(String userId);

    List<Permission> selectLeftPermission(String userId);


}
